package com.guoxin.chapter4.reentractlock.conditiontestmanytomany;

public class ThreadB extends Thread {
	private MyService service;

	public ThreadB(MyService service) {
		super();
		this.service = service;
	}

	@Override
	public void run() {
		while (true) {
			service.get();
		}
	}
}
